package ar.edu.itba.it.cg.grupo01.impl;

import java.util.Collection;
import java.util.Set;

import javax.vecmath.Point3d;

import ar.edu.itba.it.cg.grupo01.api.Intersection;
import ar.edu.itba.it.cg.grupo01.api.shape.Shape;

public class IntersectionFactory {

	public Intersection<? extends Shape> emptyIntersection() {
		return new EmptyIntersection();
	}

	public Intersection<? extends Shape> createIntersection(Collection<Point3d> points) {
		return new IntersectionImpl(points);
	}

	public Intersection<? extends Shape> createIntersection(Set<Intersection<? extends Shape>> intersections) {
		return new IntersectionImpl(intersections);
	}

}
